/**
 * 
 */
package com.angis.fx.data;

/**
 * @author han
 *
 */
public class AreaType {
	private String id;
	
	private String name;
	
	private String code;
	
	private AreaType parent;

	public AreaType(String id, String name, String code, AreaType parent) {
		super();
		this.id = id;
		this.name = name;
		this.code = code;
		this.parent = parent;
	}

	public AreaType(String id, String name) {
		super();
		this.id = id;
		this.name = name;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public AreaType getParent() {
		return parent;
	}

	public void setParent(AreaType parent) {
		this.parent = parent;
	}
	
	
	
	
}
